package com.alks.function.data.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDate;

@Getter
@Setter
@NoArgsConstructor
public class MaterialDto {

    //指令
    private String lotDetail;

    //送货日期
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private LocalDate sendDate;

    //订购单号
    private String purNo;

    //厂商名称
    private String vendorName;

    //型体
    private String purStyle;

    //材料颜色
    private String mtlColor;

    //材料名称
    private String mtlName;

    //规格
    private String mtlSpec;

    //单位
    private String mtlUnit;

    //送货数量
    private Double sendQty;

    //退货数量
    private Double returnQty;

    //暂收数量
    private Double acceptQty;

    //合格数量
    private Double okQty;

    //入库单号
    private String recNo;

    //公斤数
    private double kgQty;

    //类型
    private String slipType;

    //仓管员
    private String sysUser;

    //单据核验 Y是√
    private String cfmFlag;

    //单价核验 Y是√
    private String financeCfmFlag;

    //对账核验 Y是√ 数据未找到
    private String reconciliation;

    //外观是否合格
    private String aCheckFlag;

    //外观不良原因
    private String aReason;

    //物性是否合格
    private String pCheckFlag;

    //物性不良原因
    private String pReason;

    //入仓日期
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private LocalDate recDate;

    //备注
    private String remark;

    //物料编码
    private String mtlNo;

    //退货日期
    private LocalDate returnDate;

    //退货单号
    private String returnNo;

    //单价
    private double price;

    //金额
    private BigDecimal amt;
}
